package com.cn.eyepetizer.model;

import java.util.List;

/**
 * @Auth: 陈彬
 * @Date: 2020/9/16 15:23
 */
public class PushMsg {


    /**
     * messageList : [{"id":454949,"title":"官方通知","content":"开眼好友功能上线啦~在评论区看到志同道合的朋友，点个「关注」即可收到 TA 最新的评论和喜欢咯~！点击查看功能详情>>","date":1520841600000,"actionUrl":"eyepetizer://webview/?title=%E5%A5%BD%E5%8F%8B%E5%8A%9F%E8%83%BD%E4%B8%8A%E7%BA%BF%E5%95%A6~&url=http%3A%2F%2Fwww.kaiyanapp.com%2Fguide%2Ffollow-guide.html","icon":"http://img.wdjimg.com/image/video/418d281e65bf010c38c7b07bdd7b6a94_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":451311,"title":"官方通知","content":"每逢年节胖三斤，来晒晒你家的年味吧~ 各位来自祖国东南西北，以及身处海外的同胞们，听说今年过年有新传统，来开眼晒一晒自己家的年味！","date":1518703200000,"actionUrl":"eyepetizer://webview/?title=%E6%96%B0%E6%98%A5%E5%BF%AB%E4%B9%90~%EF%BC%81&url=http%3A%2F%2Fwww.kaiyanapp.com%2Ftopic_article.html%3Fnid%3D54%26cookie%3D%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/418d281e65bf010c38c7b07bdd7b6a94_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":451213,"title":"官方通知","content":"2018 开眼用户调查开始啦~ 为我们提供宝贵的信息和意见，帮助我们变得更好。点击开始填写 >>","date":1517293867000,"actionUrl":"eyepetizer://webview/?title=2018%20%E5%BC%80%E7%9C%BC%E7%94%A8%E6%88%B7%E8%B0%83%E6%9F%A5%E9%97%AE%E5%8D%B7&url=https%3A%2F%2Fjinshuju.net%2Ff%2FwIy1eF%3Fx_field_1%3D","icon":"http://img.wdjimg.com/image/video/418d281e65bf010c38c7b07bdd7b6a94_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":451098,"title":"官方通知","content":"开眼话题互动：还有不到一周 2017 年就要正式成为你永久的回忆了，在这一年中有哪些让你难忘的事情，有哪些收获，你又是什么的状态呢？","date":1514347200000,"actionUrl":"eyepetizer://webview/?title=%E8%AF%9D%E9%A2%98%E4%BA%92%E5%8A%A8&url=http%3A%2F%2Fwww.kaiyanapp.com%2Ftopic_article.html%3Fnid%3D30%26cookie%3D%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/418d281e65bf010c38c7b07bdd7b6a94_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96798,"title":"点赞通知","content":"你的评论\"这梦想的背影，我是在v...\"被赞了5次！","date":1481692872000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D808901285481807872%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96790,"title":"点赞通知","content":"你的评论\"明年暑假就高中毕业了 ...\"被赞了5次！","date":1481692100000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D807482525080354816%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96788,"title":"点赞通知","content":"你的评论\"一看就都是女人的屁股\"被赞了5次！","date":1481691824000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D806358495354945536%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96782,"title":"点赞通知","content":"你的评论\"18岁，还是自己搬运的...\"被赞了5次！","date":1481690368000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D808684888705204224%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96779,"title":"点赞通知","content":"你的评论\"最喜欢郭达了\"被赞了5次！","date":1481688671000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D808298274090909696%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null},{"id":96776,"title":"点赞通知","content":"你的评论\"加油，距2017考研还...\"被赞了5次！","date":1481684570000,"actionUrl":"eyepetizer://webview/?title=%E7%83%AD%E9%97%A8%E8%AF%84%E8%AE%BA&url=http%3A%2F%2Fwww.eyepetizer.net%2Freply.html%3Frid%3D808840430547369984%26shareable%3Dtrue","icon":"http://img.wdjimg.com/image/video/5037cf503ddbb051768042a161701c4b_0_0.png","viewed":false,"ifPush":false,"pushStatus":0,"uid":null}]
     * updateTime : 1520841600000
     * nextPageUrl : http://baobab.kaiyanapp.com/api/v3/messages?start=10&num=10
     */

    private long updateTime;
    private String nextPageUrl;
    private List<MessageListBean> messageList;

    @Override
    public String toString() {
        return "PushMsg{" +
                "updateTime=" + updateTime +
                ", nextPageUrl='" + nextPageUrl + '\'' +
                ", messageList=" + messageList +
                '}';
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }

    public String getNextPageUrl() {
        return nextPageUrl;
    }

    public void setNextPageUrl(String nextPageUrl) {
        this.nextPageUrl = nextPageUrl;
    }

    public List<MessageListBean> getMessageList() {
        return messageList;
    }

    public void setMessageList(List<MessageListBean> messageList) {
        this.messageList = messageList;
    }

    public static class MessageListBean {
        /**
         * id : 454949
         * title : 官方通知
         * content : 开眼好友功能上线啦~在评论区看到志同道合的朋友，点个「关注」即可收到 TA 最新的评论和喜欢咯~！点击查看功能详情>>
         * date : 1520841600000
         * actionUrl : eyepetizer://webview/?title=%E5%A5%BD%E5%8F%8B%E5%8A%9F%E8%83%BD%E4%B8%8A%E7%BA%BF%E5%95%A6~&url=http%3A%2F%2Fwww.kaiyanapp.com%2Fguide%2Ffollow-guide.html
         * icon : http://img.wdjimg.com/image/video/418d281e65bf010c38c7b07bdd7b6a94_0_0.png
         * viewed : false
         * ifPush : false
         * pushStatus : 0
         * uid : null
         */

        private int id;
        private String title;
        private String content;
        private long date;
        private String actionUrl;
        private String icon;
        private boolean viewed;
        private boolean ifPush;
        private int pushStatus;
        private Object uid;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getDate() {
            return date;
        }

        public void setDate(long date) {
            this.date = date;
        }

        public String getActionUrl() {
            return actionUrl;
        }

        public void setActionUrl(String actionUrl) {
            this.actionUrl = actionUrl;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public boolean isViewed() {
            return viewed;
        }

        public void setViewed(boolean viewed) {
            this.viewed = viewed;
        }

        public boolean isIfPush() {
            return ifPush;
        }

        public void setIfPush(boolean ifPush) {
            this.ifPush = ifPush;
        }

        public int getPushStatus() {
            return pushStatus;
        }

        public void setPushStatus(int pushStatus) {
            this.pushStatus = pushStatus;
        }

        public Object getUid() {
            return uid;
        }

        public void setUid(Object uid) {
            this.uid = uid;
        }
    }
}
